func internal/strconv.bool2
10 uses
internal/strconv (current package)
atof.go#L590: sign := bool2[uint32](neg) << 31
atof.go#L648: sign := bool2[uint64](neg) << 63
uscale.go#L17: func bool2[T ~int | ~uint32 | ~uint64](b bool) T {
uscale.go#L62: return unrounded(x/d) | u&1 | bool2[unrounded](x%d != 0)
uscale.go#L66: return u>>s | u&1 | bool2[unrounded](u&((1<<s)-1) != 0)
uscale.go#L128: s := bool2[int](u >= unmin(1<<53))
uscale.go#L154: s := bool2[int](u >= unmin(1<<24))
uscale.go#L265: hi -= bool2[uint64](mid < mid2)
uscale.go#L266: return unrounded(hi>>s | bool2[uint64](mid-mid2 > 1))
uscale.go#L289: return nd + bool2[int](d >= uint64pow10[nd])
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)